OnLine-Time Tracker Version 2.6 Copyright 1995 by Dan Statham This program is released as FreeWare. You may use it for as long as you find it useful. You may make and give away as many copies as you want to. As someone else said in their disclaimer, "No fees, no royalties, no guaranties." YMMV. If you try out my program, I would appreciate some feedback. Send me a note: dstatham@prysm.com. Place the executable in a directory of your choice. Launch the program before you connect to your favorite on-line service or Internet service provider. Use 'Setup|Set "Free" Hours' to tell the program how many 'free" hours you get with your provider. Next, enter a 2 digit number in the Warning level box. These two numbers will be used to show a warning message when you exceed the whole number of hours calculated by multiplying the 'free' hours by the warning level. Example: 40 'free' hours X 90% = 36 hours. 35 X 65% = 22.75. You will get a warning when you go over 36 hours in the first example and 22 hours in the second examlpe. (If you have unlimited access (lucky you!) and you want to use this program just to see how many hours you stay on-line (see the caution below), then set "Free Hours" to 00. Everything but the additional cost on the title bar will work.) Enter the dollar amount that you provider charges for additional hours. When you exceed the number of "free" hours, you will see another warning and the title bar will show you how much the extra time will cost for that month. (This may not exactly match what your provider charges you, but it will be close.) If you know how many hours you have already been on-line for this billing period, then use the Setup|Pre-set to pre-set the timer. After you have established your connection, click on the timer button to start. Resize the application so that all you see is the title bar, then place it in a clear spot on the desktop. The first time you run this program, the "Keep Log" item in the Setup menu is checked. This causes the program to write the Date & Time that you started the program to a log. When you stop the program, the Date & Time, the Connected Time and the Total time is written to the log. If you do not want to keep a log, un-check the Setup|Keep Log item. I added this function because I dissagreed with my provider about number of hours I used last month. Now I will have my own record. When you have disconnected from your on-line service, press the timer button again. While the timer is running, it uses an OnTimer Event to increment the seconds. When you stop the timer, the difference in actual CPU clock time is calculated and the hours, minutes, seconds in the title are adjusted. You can use the mouse to pull down the system menu. From there, you can select "Start Timer" if the timer is not running, or "Stop Timer" if the timer is running. The first time you call in a new billing period, use Setup|Reset to reset the timer to 00:00:00. Close the application by using any of the normal exit methods. This will save the updated time in the [OnLineTime Tracker] section in Win.Ini. Thanks go to Tim Noonan for the analog clock component and the Ballon Hint component in his DTools 1.0. Thanks also go to Bill Murto for his TTimeStamp Component. (If you want to see his work, place your cursor just after the version # on the About box. DoubleClick. The date/time of compilation will appear.) More thanks go to JCIRIELL@physiology.uwo.ca for his information on using the system menu. Limitations: 1) If you keep the timer running for more than 12 hours, the total time will not update correctly. 2) Max number of 'Free Hours" is 99. 3) Max number for Warning Level is 99. 4) Max number for Additional Cost is $9.99. 5) Max numbers for the Pre-Set hours, minutes and seconds are 99. (Anybody see a pattern here?) Future enhancments??? 1) I would like to have the timer start and stop automatically when the dialer calls a phone number and then connects. If anybody knows how this might be done, please e-mail me. If you get a copy of the source file and make some improvements to the program, please send the code back to me so that I can admire your work. Constructive comments are welcome. Please send to: dstatham@prysm.com.